|
Foxit PDF SDK
|
Public 成员函数 | |
| def | CertificateSecurityHandler () |
| 构造函数。 | |
| def | CertificateSecurityHandler (other) |
| 构造函数,使用父类对象。 更多... | |
| def | Initialize (encrypt_data, encrypt_key) |
| 初始化当前证书安全处理器。 更多... | |
Public 成员函数 继承自 FoxitPDFSDKPython3.SecurityHandler | |
| def | SecurityHandler () |
| 构造函数。 | |
| def | SecurityHandler (other) |
| 用另一个安全处理器对象的构造函数。 更多... | |
| def | GetSecurityType () |
| 获取当前安全处理器的加密类型。 更多... | |
| def | IsEmpty () |
| 检查当前对象是否为空。 更多... | |
额外继承的成员函数 | |
静态 Public 属性 继承自 FoxitPDFSDKPython3.SecurityHandler | |
| e_CipherAES = _fsdk.SecurityHandler_e_CipherAES | |
| 使用AES加密算法,密钥长度为16字节(AES-128)或 32字节(AES-256,仅在PDF 2.0中支持)。 | |
| e_CipherNone = _fsdk.SecurityHandler_e_CipherNone | |
| 不使用加密算法。 | |
| e_CipherRC4 = _fsdk.SecurityHandler_e_CipherRC4 | |
| 使用RC4加密算法,密钥长度在5字节到16字节之间。 | |
此类表示证书安全处理器,用于证书加密。
| def FoxitPDFSDKPython3.CertificateSecurityHandler.CertificateSecurityHandler | ( | other | ) |
构造函数,使用父类对象。
| [in] | other | 父类对象。 |
| def FoxitPDFSDKPython3.CertificateSecurityHandler.Initialize | ( | encrypt_data, | |
| encrypt_key | |||
| ) |
初始化当前证书安全处理器。
| [in] | encrypt_data | 证书加密数据对象。在加密数据中,加密算法类型不应为 FoxitPDFSDKPython3.SecurityHandler.e_CipherNone 。 |
| [in] | encrypt_key | 用于加密的密钥。 对于 FoxitPDFSDKPython3.SecurityHandler.e_CipherRC4 加密算法,加密密钥的长度应该在5到16之间。对于 FoxitPDFSDKPython3.SecurityHandler.e_CipherAES 加密算法,加密密钥的长度应该是16或32。 |